<!--
 * @FilePath: \plugWeb\src\views\components\Test.vue
 * @Version: 2.0
 * @LastEditors: lhl
 * @LastEditTime: 2022-01-26 17:28:07
 * @Description: 
-->
//测试
<template>
  <div class="form">
    <common-title toptitle="测试">
      <Test></Test>
    </common-title>
  </div>
</template>
<script>
import CommonTitle from '../../components/CommonTitle.vue'
import Test from '../../components/Test.vue'
import { schema } from 'prosemirror-schema-basic'
import { EditorState } from 'prosemirror-state'
import { EditorView } from 'prosemirror-view'
export default {
  components: { CommonTitle, Test },
  data () {
    return {}
  },
  mounted () {
    let state = EditorState.create({ schema })
    let view = new EditorView(document.body, { state })
  },
  methods: {}
}
</script>
<style lang="less" scoped>
.form {
  height: 100%;
  width: 100%;
}
</style>
